package compute

import (
	"github.com/huaweicloud/huaweicloud-sdk-go-v3/core/auth/basic"
)

type CloudComputeInterface interface {
	ECS(region string) ECSInterface
}

type Compute struct {
	credentials *basic.Credentials
}

func NewCompute(credentials *basic.Credentials) CloudComputeInterface {
	return &Compute{
		credentials: credentials,
	}
}

func (c *Compute) ECS(region string) ECSInterface {
	return newECS(c, region)
}
